import { createApp } from 'vue'
import '@/style.css'
import App from '@/App.vue'

//导入路由转发器
import router from "@/router/index.js";
import {zhCn} from "element-plus/es/locale/index";
import ElementPlus from "element-plus";
import 'element-plus/dist/index.css'
import Vant from 'vant';

const app = createApp(App);
app.use(router);
app.use(ElementPlus, {
    locale: zhCn,
})
app.use(Vant);
//入口脚本
//创建一个应用
app.mount('#app')

